
#ifndef BULLET_H
#define BULLET_H

#include "config.h"
#include <QPixmap>

class bullet
{
public:
    bullet();

    void updatePosition();

public:
    QPixmap m_bullet1;
    QPixmap m_bullet2;
    QPixmap m_bullet3;
    int m_x,m_xa,m_xb;
    int m_y,m_ya,m_yb;

    int m_speed;
    int m_speed2;
    int m_speed3;

    bool m_free;
    bool m_freea;
    bool m_freeb;

    QRect m_rect;
    QRect m_recta;
    QRect m_rectb;
};

#endif // BULLET_H
